package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.common.dtos.ResponseResult;

import com.heima.model.wemeida.dtos.WmSensitivPageReqeDto;
import com.heima.model.wemeida.pojos.WmSensitive;

import java.util.List;

public interface WmSensitiveService extends IService<WmSensitive> {

    ResponseResult<List<WmSensitive>> findList(WmSensitivPageReqeDto dto);

    /**
     * 新增敏感词
     */
    void saveMGC(WmSensitive wmSensitive);

    ResponseResult deleteMGC(Integer id);

    /**
     * 修改敏感词
     */
    void updateMGC(WmSensitive wmSensitive);
}
